Fix typo in ellipsis
authorJustin Burkett <justin@burkett.cc>
Sun, 2 Jan 2022 14:33:02 +0000 (09:33 -0500)
committerJustin Burkett <justin@burkett.cc>
Sun, 2 Jan 2022 14:33:02 +0000 (09:33 -0500)
which-key.el

index 870894644db2b0c088bf7c960773c7e5318b7de7..c13f4af25aa5be189b268eeeba0745bcd96cec28 100644 (file)
@@ -133,9 +133,9 @@ the default is \" : \"."
   :group 'which-key
   :type 'string)
 
-(defcustom which-key-elipsis
+(defcustom which-key-ellipsis
   (if which-key-dont-use-unicode ".." "…")
-  "Elipsis to use when truncating. Default is \"…\", unless
+  "Ellipsis to use when truncating. Default is \"…\", unless
 `which-key-dont-use-unicode' is non nil, in which case
 the default is \"..\"."
   :group 'which-key
@@ -1589,7 +1589,7 @@ If KEY contains any \"special keys\" defined in
 (defsubst which-key--truncate-description (desc)
   "Truncate DESC description to `which-key-max-description-length'."
   (let* ((last-face (get-text-property (1- (length desc)) 'face desc))
-         (dots (which-key--propertize which-key-elipsis 'face last-face)))
+         (dots (which-key--propertize which-key-ellipsis 'face last-face)))
     (if (and which-key-max-description-length
              (> (length desc) which-key-max-description-length))
         (concat (substring desc 0 which-key-max-description-length) dots)